﻿--[[
   @brief    activity desc
   @author   dragonqiu
   @version  1.0
   @date     2015-10-9
--]]

activity_desc = {
    module_name = 'activity',
    events = {
        {
            c_event = 
            {           
               {
                    id = ierd_tgp.activity.NOTICE_SHOW_ACTIVITY,
                    callback = 'activity_control.open_activity'
               }
            },
            lua_event = 
            {
                {
                    id = open_link_event.OPEN_LINK,
                    callback = 'activity_control.open_activity'

                },
                {
                    id = browser_event.OPEN_TGP_NEW_BROWSER,
                    callback = 'activity_control.open_new_browser'
                }
            },
            lua_file = 'activity\\control.lua'
        }
    }
};

desc_mgr.add(activity_desc);
